<template>
    <page-body>
        <view class="page">
            <view class="flex benben-position-layout flex flex-wrap align-center cumulative_flex_0" :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
                <view class='flex flex-wrap align-center justify-between flex-sub cumulative_fd0_0'>
                    <view class='flex flex-wrap align-center cumulative_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
                        <text class='fu-iconfont2  cumulative_fd0_0_c0_c0'>&#xE794;</text>
                    </view>
                    <view class='flex flex-wrap align-stretch justify-center'>
                        <text class='cumulative_fd0_0_c1_c0'>累计收入</text>
                    </view>
                    <view class='flex flex-wrap align-center justify-end cumulative_fd0_0_c0'>
                    </view>
                </view>

            </view>
            <view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
            <!---flex布局flex布局开始-->
            <view class="flex benben-flex-layout flex-wrap align-center cumulative_flex_1">
                <text class='cumulative_fd1_0'>累计收入(￥)</text>
                <text class='cumulative_fd1_1'>{{all_income}}</text>
            </view>

            <!---flex布局flex布局结束-->
            <!---flex布局flex布局开始-->
            <view class="flex flex-direction align-stretch benben-flex-layout cumulative_flex_2">
                <template v-for='(item,key0) in list'>
                    <view class='flex flex-direction align-stretch cumulative_fd2_0' :key='key0'>
                        <view class='flex flex-wrap align-center'>
                            <view class='flex flex-direction align-stretch flex-sub cumulative_fd2_0_c0_c0'>
                                <text class='cumulative_fd2_0_c0_c0_c0'>{{item.remark}}</text>
                                <view class='cumulative_fd2_0_c0_c0_c1' v-if=" item.change_type=='1' || item.change_type=='2'">
                                    <text>订单编号：</text>
                                    <text>{{item.order_sn}}</text>
                                </view>
                            </view>
                            <!-- <text class='cumulative_fd2_0_c0_c1'>+</text> -->
                            <text class='cumulative_fd2_0_c0_c1'>+ {{item.change_money}}</text>
							<!-- <text class='cumulative_fd2_0_c0_c2_1'>{{item.change_money}}</text> -->
                        </view>
                        <view class='flex flex-wrap align-center cumulative_fd2_0_c1'>
                            <text class='cumulative_fd2_0_c1_c0'>{{item.create_time}}</text>
                            <text class='cumulative_fd2_0_c1_c1' v-if="item.change_type=='1' || item.change_type=='2'" @tap.stop="handleJumpDiy" data-type="navigateTo" 
					            :data-url="`/pages/riderOrder/meetOrder/meetOrder?order_sn=${item.order_sn}&type=${item.change_type}&aid=${item.order_id}`">详情 ></text>
                        </view>
                    </view>
                </template>
                <fu-empty :pagingListLoadedAll="pagingListLoadedAll" :pagingListNoListData="pagingListNoListData" :listDataLength="listDataLength" :isLoadInit="isLoadInit"></fu-empty>
            </view>

            <!---flex布局flex布局结束-->


        </view>
    </page-body>
</template>
<script>
    import pagingList from '@/common/mixin/paging_list.js';
    import {
        validate
    } from '@/common/utils/validate.js'

    export default {
        components: {},
        mixins: [pagingList],

        data() {
            return {
                "minixPagingListsApi": "",
                "pageingListApiMethod": "",
                "allowOnloadGetList": false,
                "list": [],
				all_income:0,
            };
        },
        computed: {

        },
        watch: {},
        onLoad(options) {
			if(options.all_income){this.all_income = options.all_income}
        },
        onUnload() {

        },
        onReady() {

        },
        onShow() {
			
            this.getwu36dfee37deefFunc()
        },
        onHide() {

        },
        onResize() {

        },
        onPullDownRefresh() {

        },
        onReachBottom(e) {

        },
        onPageScroll(e) {

        },
        methods: {
            //钱包-余额明细
            getwu36dfee37deefFunc() {
                this.minixPagingListsApi = global.apiUrls.post636e3e94b5605;
                this.pageingListApiMethod = 'get';
                this.allowOnloadGetList = false;
                this.pagingListPostDataContent = {
                    money_type: '1',
                    type: '2',
                    user_role: '2'
                }
                this.listData = [];
                this.list = this.listData;
                this.pagingListToggle();

            },
            pagingListPostData() {
                return this.pagingListPostDataContent
            }
        }
    };
</script>
<style lang="scss" scoped>
    .page {
        width: 100vw;
        overflow-x: hidden;
        min-height: calc(100vh - var(--window-bottom));
        background: var(--benbenbgColor1);
        background-size: 100% auto;
    }

    .cumulative_flex_0 {
        background: #fff;
        width: 750rpx;
        height: 88rpx;
        overflow: hidden;
        z-index: 10;
        top: 0rpx;
        background-size: 100% auto !important;
    }

    .cumulative_fd0_0_c1_c0 {
        font-size: 36rpx;
        font-weight: 700;
        color: #333333;
        line-height: 50rpx;
    }

    .cumulative_fd0_0_c0_c0 {
        font-size: 36rpx;
        color: #333;
    }

    .cumulative_fd0_0_c0 {
        width: 120rpx;
    }

    .cumulative_fd0_0 {
        padding: 0rpx 32rpx 0rpx 32rpx;
    }

    .cumulative_flex_1 {
        background: rgba(248, 248, 248, 1);
        background-size: 100% auto;
        padding: 24rpx 32rpx 24rpx 32rpx;
    }

    .cumulative_fd1_1 {
        color: #333333;
        font-size: 28rpx;
        font-weight: 700;
        margin: 0rpx 0rpx 0rpx 16rpx;
    }

    .cumulative_fd1_0 {
        color: #333333;
        font-size: 24rpx;
        font-weight: 500;
    }

    .cumulative_flex_2 {
        background: var(--benbenbgColor1);
        background-size: 100% auto;
        border-radius: 16rpx 16rpx 0rpx 0rpx;
        padding: 0rpx 32rpx 0rpx 32rpx;
    }

    .cumulative_fd2_0_c1_c1 {
        color: #999999;
        font-size: 24rpx;
        font-weight: 400;
        margin: 0rpx 0rpx 0rpx auto;
    }

    .cumulative_fd2_0_c1_c0 {
        color: #999999;
        font-size: 24rpx;
        font-weight: 400;
    }

    .cumulative_fd2_0_c1 {
        margin: 32rpx 0rpx 0rpx 0rpx;
    }

    .cumulative_fd2_0_c0_c2_1 {
        color: var(--benbenFontColor1);
        font-size: 28rpx;
        font-weight: 700;
    }

    .cumulative_fd2_0_c0_c1 {
        color: #DA372C;
        font-size: 28rpx;
        font-weight: 700;
    }

    .cumulative_fd2_0_c0_c0_c1 {
        font-size: 24rpx;
        font-weight: 400;
        color: #333333;
        margin: 8rpx 0rpx 0rpx 0rpx;
    }

    .cumulative_fd2_0_c0_c0_c0 {
        color: #333333;
        font-size: 28rpx;
        font-weight: 500;
    }

    .cumulative_fd2_0_c0_c0 {
        margin: 0rpx 32rpx 0rpx 0rpx;
    }

    .cumulative_fd2_0 {
        border-bottom: 1px solid rgba(238, 238, 238, 1);
        padding: 32rpx 0rpx 32rpx 0rpx;
    }
</style>